package com.yangyun.spring.aop.xml.exception.service.impl;

import com.yangyun.spring.aop.xml.exception.dao.PersonDao;
import com.yangyun.spring.aop.xml.exception.service.PersonService;

/**
 * Created by Mr.no.
 * User:yangyun
 * Date:2017/8/25
 * Time:21:21
 */
public class PersonServiceimpl implements PersonService {
    private PersonDao personDao;

    public PersonDao getPersonDao() {
        return personDao;
    }

    public void setPersonDao(PersonDao personDao) {
        this.personDao = personDao;
    }

    public void savePerson() {
         this.personDao.savePerson();
    }

    public void updatePerson() {
        this.personDao.updatePerson();
    }
}
